package com.css.fxfzysx.modules.vabStructure.repository;

import com.css.fxfzysx.modules.cztDataMange.entity.CbcbInfoEntity;
import com.css.fxfzysx.modules.cztDataMange.entity.CbcpInfoEntity;
import com.css.fxfzysx.modules.vabStructure.entity.CztBrickConcreteDestroyCalc;
import com.css.fxfzysx.modules.vabStructure.entity.CztBrickConcreteDestroyResult;

import java.util.HashMap;
import java.util.List;

public interface PobStructureRepository {
    void saveBrickConcreteDestroyCalc(CztBrickConcreteDestroyCalc it);

    void saveBrickConcreteDestroyResults(CztBrickConcreteDestroyResult it);

    int delByProjectId1(List<String> idList);

    int delByProjectId2(List<String> idList);

    List<CztBrickConcreteDestroyCalc> getByProjectId1(String id);

    List<CztBrickConcreteDestroyResult> getByProjectId2(String id);

    HashMap<String,Object> queryPobStructure(CbcbInfoEntity cbcbInfoEntity, int page, int size);
    HashMap<String,Object> queryPobStructure1(CbcpInfoEntity cbcpInfoEntity, int page, int size);

    void updateCountStatusById(String id);

    void moveBasicLibraryById(String dataId,String operate);
    void moveBasicLibraryById1(String dataId,String operate);

    void updateCalculateOrNotStatusById(String cbcbiId);

}
